package com.supermarket.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.supermarket.model.Goods;

@Service
public interface IGoodsFunction {

	List<Goods> selectGoodsBypagination();
	Goods selectGoodsById(Integer id);
	void deleteById(Integer id);
	void addGoods(Goods good);
	void updateGoodsNum(Goods good);
	void updateGoods(Goods good);
	List<Goods> queryGoods(String keyword);
	
}
